SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '581fdf18db777692ee098719c03a2aab1abb66821d50b01f3ee00e09c6a5069e' 
  AND token = 'xXvMl4KmD/NnKQTZQShBoqee3mVCc59CJxgN/JfNqIA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00065

JSON explain

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