SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '71ded355010610bcae8db2b9dab9c361c47518172492850458abb8643819e48f' 
  AND token = 'GePWSc0TFq/ejN0U0zkvHk52ZKtg1y+AH/Idhq5UPkc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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