SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5619eda877d456c0f1ee54ba07747ee0736a425a0a0dfd8a9d3022992327641d' 
  AND token = '1fGXPxA/7cIhQuDiU78m32Q2s6kScyxiN92jxzQ/0PM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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