SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd433de6080ce774563be9a53f9bbb9c16f0a8023f216061f953d2e8db08ba5b7' 
  AND token = 'dhy1AjWDX61YISkS/1NER0zmzkLCjBzQnE4Zrm9if2Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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