SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '59cbed758675d3da5d58fb646e0f4cd312ac00059381b13c50682b15e8ea2805' 
  AND token = 'xwduJuwaBcjiznu/Sq0Qph1CJXySPKDa31FYp/GcIc0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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