SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd32bce4746fd927aa0c27e717cd739dc64be94c3c08a48369fb04d673596d673' 
  AND token = 'TZ4KxZET5HyKCu/qSii6MYRVpDQxQ/IP5ZLfEQJuHQ4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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