SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c089a37de943f90b4a637ac72d4fe4121a60c73ea83da51ff873c71747ae7aab' 
  AND token = 'Ud58ZvtMDFd+U5L8Pkc8cRhWNAC0KdCy/Y2BmtQAPro=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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