SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '031fcc573c5f2a0c9f4d73755a11412800375668777efaf3477f533fd1f7ff9f' 
  AND token = 'phpOOtXEROAdCkEi/0O+DGIuVyGXrqWS/x39qfLvQvw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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