SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1f0663526513294eb43fd1633f79f2eae4851669cfc354385b7a4171a2ba36e7' 
  AND token = 'Bc6NbOVHjaG/0P9jo9YU3J48Ps/tKpwWEQqLUBPqNUc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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