SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ef4daca39a9ad5268fa1cc920bf53dbda240254e5ffcb01213194c68eaf4cdb' 
  AND token = 'kH7tyxt2ts1PVXSv0E6TEmOeHbxWXsBii4Kds6Ys2aM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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