SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21f99d854ac96af34f72cd3920f5dcc7349d7beef477b5db0d79a078cab1139e' 
  AND token = 'sjhoQ4LowrOg4+78jvxgpXbwDuCldyhrePpbFxk99jE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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