SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '86016ddcd040aecfdc1c3c4ca7b8d35fb44473178165cc14a806d724ad24d215' 
  AND token = 'PFAJdiLs4rQFyCvzOiEujKWScMRUJnsphGgUyej4DTk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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