SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87f1d867f49b721f3d944ea236107bcfd275efc7578b00b9a35a63560bf3a3c3' 
  AND token = 'iTiCn5cDsGGSxJO5htIDvzwfDvQAyjUSwmDKZfw4ucQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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