SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '54a2c69c1119c6bceeb6eec0f63fe8b299a2da3b106c4fb6884039859d9dbcb6' 
  AND token = 'WfoS7aJ9KNZCXep9WoZWM+IZC2991faR2QYHguU7gs4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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