SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23040385c00fdf01540b954c732171a66f708e9635e63b6aa54d64d32e0c032c' 
  AND token = 'oje2cXby2utaR/FIzif4YzVrgCYLS7JbRHLbvgpIRtg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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