SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b3e39158414aa2734a98fe6dd0dd09a064a4eab372648568d406fb7521ea629' 
  AND token = 'k51TPBa3xFvE/WTeVnu4WO/mEHjTIpR/a+zawZJsgnw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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