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

Query time 0.00043

JSON explain

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