SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba37db550af79245bef1c66e74a0cb39734bb384ad2b33a03308d44adc142434' 
  AND token = 'PrDEvxiSDUno2uhH3sfsnCD9QgMKRF4ZmNsDgVvALWI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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