SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cfa05c028cac457a708629e47796d9146033796b9761a9e171784ebab318e7ac' 
  AND token = 'EWXDrZVJLQYe1OqvpDKtNk8ByMWB3EhGz91B1ay/yFk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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