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

Query time 0.00050

JSON explain

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