SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '399fb6933d6b9f3200af2e85a0ec1b4b8a420c9f87f98b6dadd7a225b2562a7c' 
  AND token = 'dlsrxIm5UTV0uo6ts/sWXft7UXwPgNYqy/eFCTDLKhw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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