SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afe01f37cb343f9275f8a161944fed00306cdc4d27829bd678124b98c95ce48d' 
  AND token = 'Ejv2jR6Ag1NCncAz3Epc+100JmWcF4/7C8IKD3UAJes=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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