SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8ae0ddaaf4a5d1db3a06ebb89fa0b8354d2a79e6112de601d810e572d2ad4f99' 
  AND token = '0xp4JX9ihSpYCAMvCLe/R0+T+HUWWHunEnARAcFknf4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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