SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '565c1877c51575ab3aba5391f8502f040f878d071efd821e539349d0f431355b' 
  AND token = 'IqfB5uNzorc87181o1QV66e5tDWrKYaZb7XVk9mvsRY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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