SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0257f0a0528eb7011aacd09d6f4ad422bc56dd25913da181ab9c8049d360d9c' 
  AND token = 'Cwc9+NhLYmEfPBpA0kZ0X48TkVouUf1eWu7d80ZJ96w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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