SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5142cd091ac7e1a72aa6aa88d6bc690e1c96346d4dc27d139817196e8fbf943a' 
  AND token = 'vro8qYOSBn/iEmeb5Q/PVJDLrekn6/GSgxLOVFsRq5Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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