SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ff2a4647b3d2cfe5eba32150640a9659894b45ffe42216eda9566ee96da16d6' 
  AND token = 'l74KKfGacPqzQc4iImqefgoOmo+5cjFyQarmUVJAR7g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}