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

Query time 0.00041

JSON explain

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