SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccbd248407df6f9f404423640b69b5d7c5317219d4c7e74e33bb812974e86563' 
  AND token = 'B2HYzPJg69IyndGsKRnJIVSJkvP4ALw/j6zTm5SADp4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00061

JSON explain

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