SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d9811ee23dc683aa87c0a4b2446ed8e1e8f5262225623c84096b6674d11bc83' 
  AND token = 'NpdWML3Jr2ncUl7mgoeGqnxI6PjvrbHdsGxp7S3gTI8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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