SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6871f0587327f10fc968c3f73f134e3604870a97aa7c7c3c55c792cb449e7500' 
  AND token = '5qDOADam+G46WSAY7OkV0TEvYzVzez1d7dMCVh7sMHY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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